home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / chatter / chatsock.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  858 b   |  36 lines

  1. // chatsock.h : interface of the CChatSocket class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1999 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. #ifndef __CHATSOCK_H__
  14. #define __CHATSOCK_H__
  15.  
  16. class CChatDoc;
  17.  
  18. class CChatSocket : public CCeSocket
  19. {
  20.     DECLARE_DYNAMIC(CChatSocket);
  21.  
  22. // Construction
  23. public:
  24.     CChatSocket(CChatDoc* pDoc, PURPOSE_E iPurpose=FOR_DATA);
  25.  
  26. // Operations
  27. public:
  28.     CChatDoc* m_pDoc;
  29.  
  30. // Implementation
  31. protected:
  32.     virtual void OnReceive(int nErrorCode);
  33. };
  34.  
  35. #endif // __CHATSOCK_H__
  36.